<template>
  <div>
    <div class="team-tit"></div>
    <div class="team-area"></div>
    <div class="team-list">
      <div class="team-item" v-for="item in teacherList" :key="item.id">
        <div class="item-l">
          <img :src="item.userImg" alt="" />
          <p>{{ item.name }}</p>
        </div>
        <div class="item-r">
          <div class="r-tit">
            <p>师资介绍</p>
          </div>
          <div class="r-con">
            <p>{{ item.introduction }}</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  components: {},
  data() {
    return {
      tabChangeIndex: "1",
      teacherList: [
        {
          id: 0,
          name: "马小军",
          userImg:
            "http://peixun.cefatc.org.cn/statics/uploadfile/2021/1214/20211214012712880.jpg",
          introduction:
            "马小军，中国艺术职业教育学会社会艺术教育工作委员会主任",
          link: "",
        },
        {
          id: 1,
          name: "马小军",
          userImg:
            "http://peixun.cefatc.org.cn/statics/uploadfile/2021/1214/20211214012712880.jpg",
          introduction:
            "马小军，中国艺术职业教育学会社会艺术教育工作委员会主任",
          link: "",
        },
        {
          id: 2,
          name: "马小军",
          userImg:
            "http://peixun.cefatc.org.cn/statics/uploadfile/2021/1214/20211214012712880.jpg",
          introduction:
            "马小军，中国艺术职业教育学会社会艺术教育工作委员会主任",
          link: "",
        },
        {
          id: 3,
          name: "马小军",
          userImg:
            "http://peixun.cefatc.org.cn/statics/uploadfile/2021/1214/20211214012712880.jpg",
          introduction:
            "马小军，中国艺术职业教育学会社会艺术教育工作委员会主任",
          link: "",
        },
        {
          id: 4,
          name: "马小军",
          userImg:
            "http://peixun.cefatc.org.cn/statics/uploadfile/2021/1214/20211214012712880.jpg",
          introduction:
            "马小军，中国艺术职业教育学会社会艺术教育工作委员会主任",
          link: "",
        },
        {
          id: 5,
          name: "马小军",
          userImg:
            "http://peixun.cefatc.org.cn/statics/uploadfile/2021/1214/20211214012712880.jpg",
          introduction:
            "马小军，中国艺术职业教育学会社会艺术教育工作委员会主任",
          link: "",
        },
      ],
    };
  },
  created() {},
};
</script>

<style>
@import "../assets/index.css";

.team-area {
  height: 36px;
  background: #1d4e99;
  width: 100%;
  width: 1200px;
  margin: 0 auto;
}
.team-list {
  width: 1200px;
  margin: 40px auto;
}
.team-item {
  padding: 40px 0 40px;
  border-bottom: 1px solid rgba(170, 170, 170, 1);
  height: auto;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
}
.item-l {
  width: 150px;
  margin-left: 60px;
}
.item-l img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid #1d4e99;
  margin-top: 28px;
}
.item-l p {
  text-align: center;
  font-size: 22px;
  font-family: "Lantinghei SC";
  font-weight: 800;
  color: rgba(0, 0, 0, 1);
  margin-top: 30px;
}
.item-r {
  width: 924px;
  height: 280px;
  background: rgba(238, 238, 238, 1);
  border: 1px solid rgba(191, 156, 89, 1);
  border-radius: 5px;
  position: relative;
  padding: 23px 30px 30px 40px;
  box-sizing: border-box;
}
.item-r .r-tit {
  color: #1d4e99;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
}
.item-r .r-con p {
  font-size: 14px;
  color: #000;
  font-weight: 800;
  line-height: 1.8rem;
}
@media screen and (max-width: 760px) {
  .team-list {
    width: 100%;
    margin: 15px auto;
  }
  .team-item {
    flex-wrap: wrap;
    padding: 20px 0 20px;
    justify-content: center;
  }
  .item-l {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .item-l img {
    margin: 0 auto;
    display: block;
  }
  .item-l p {
    margin-top: 16px;
  }
  .item-r {
    width: 96%;
    height: auto;
    margin-top: 20px;
  }
  .item-r .r-tit {
  }
  .item-r .r-con p {
    width: 80%;
  }
}
</style>
